<#import "/freemarker/modeltype.ftl" as mt>
<div class="wrapper-md ng-scope" style="width:60%;float:left;">
	<div class="panel panel-default">
		<div>
			<table class="table table-bordered">
				<thead>
					<tr>
						<th>名称 </th>
						<th style="width:60px;">操作 </th>
					</tr>
				</thead>
				<tbody id="aTbody">
					<#list pageBean.resultList as course>
					<tr class="footable-even" style="display: table-row;">
						<td class="footable-visible footable-first-column">${(course.name)!''}</td>
						<td class="footable-visible footable-first-column" >
							<button class="btn btn-xs btn-success" onclick="javascript:choiseCourse_topic($(this),'${course.code}','${course.name}'); return false;" title="选择">
								<i class="icon-check"></i>
							</button>
						</td>
					</tr>
					</#list>
				</tbody>
			</table>
			<#import "/freemarker/pagination.ftl" as p>
			<@p.pagination pageBean 'aidqueryCourse_topic' />
		</div>
	</div>
</div>

<div class="wrapper-md ng-scope" style="width:35%;float:left;">
	<div class="panel panel-default">
		<div>
			<table class="table table-bordered">
				<thead>
					<tr>
						<th>名称 </th>
						<th style="width:60px;">操作 </th>
					</tr>
				</thead>
				<tbody id="addTbody2">
					<#if list??>
						<#list list as c>
							<tr class="footable-even tr1" style="display: table-row;">
								<td>${(c.name)!''}</td>
								<td>
									<input type="hidden" class="cName" value="${(c.name)!''}"/>
									<input type="hidden" class="cCode" value="${(c.code)!''}"/>
									<button class="btn btn-xs btn-danger" onclick="javascript:deleteChoiseCourse_topic($(this)); return false;" title="删除">
									<i class="icon-remove"></i>
								</td>
							</tr>
						</#list>
					</#if>
				</tbody>
			</table>
		</div>
	</div>
</div>

<table id="tjTable" style="display: none;">
	<tr class="footable-even tr1" style="display: table-row;">
		<td></td>
		<td>
			<input type="hidden" class="cName" />
			<input type="hidden" class="cCode"/>
			<button class="btn btn-xs btn-danger" onclick="javascript:deleteChoiseCourse_topic($(this)); return false;" title="删除">
			<i class="icon-remove"></i>
		</td>
	</tr>
</table>

<table id="courseTable" style="display: none;">
	<tr>
		<td></td>
		<td style="width: 60px;">
			<button class="btn btn-xs btn-danger 11" onclick="javascript: deletedCourses_topic($(this)); return false;" title="删除">
				<i class="icon-remove"></i>
			</button>
			<input type="hidden" class="yxCode"/>
		</td>
	</tr>
</table>